package org.fms.web.model;

import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;
import com.baomidou.mybatisplus.enums.IdType;
import org.apache.ibatis.type.Alias;
import org.springframework.data.annotation.Id;

import java.io.Serializable;
import java.util.List;

@TableName("registration")
public class Registration extends Model<Registration> implements Serializable {

    @TableId(value = "id",type = IdType.AUTO)
    private Integer id;


    private String name;

    private String alias;

    @TableField("image_url")
    private String imageUrl;

    private String gender;

    private String ethnic;

    private String birthday;

    private String height;

    @TableField("id_number")
    private String idNumber;

    private String phone;

    @TableField("physical_conditions")
    private String physicalConditions;

    private String education;

    private String employer;

    @TableField("residence_police")
    private String residencePolice;

    @TableField("resident_police")
    private String residentPolice;

    @TableField("residence_detail")
    private String residenceDetail;

    @TableField("resident_detail")
    private String residentDetail;

    @TableField("employment_status")
    private String employmentStatus;

    @TableField("drug_type")
    private String drugTypes;

    @TableField("seized_date")
    private String seizedDate;

    @TableField("seized_units")
    private String seizedUnits;

    @TableField("seized_place")
    private String seizedPlace;

    @TableField("nature_case")
    private String natureCase;

    @TableField("rehabilitation_period")
    private String rehabilitationPeriod;

    @TableField("check_in_time")
    private String checkInTime;

    @TableField("drug_abuse_time")
    private String drugAbuseTime;

    @TableField("register_person")
    private String registerPerson;

    @TableField("register_units")
    private String registerUnits;

    private String remarks;

    private String illegalFacts;

    private String drugRehabilitation;

    private List<Annex> annexList;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getAlias() {
        return alias;
    }

    public void setAlias(String alias) {
        this.alias = alias;
    }

    public String getImageUrl() {
        return imageUrl;
    }

    public void setImageUrl(String imageUrl) {
        this.imageUrl = imageUrl;
    }

    public String getEthnic() {
        return ethnic;
    }

    public void setEthnic(String ethnic) {
        this.ethnic = ethnic;
    }

    public String getHeight() {
        return height;
    }

    public void setHeight(String height) {
        this.height = height;
    }

    public String getIdNumber() {
        return idNumber;
    }

    public void setIdNumber(String idNumber) {
        this.idNumber = idNumber;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public String getPhysicalConditions() {
        return physicalConditions;
    }

    public void setPhysicalConditions(String physicalConditions) {
        this.physicalConditions = physicalConditions;
    }

    public String getEducation() {
        return education;
    }

    public void setEducation(String education) {
        this.education = education;
    }

    public String getEmployer() {
        return employer;
    }

    public void setEmployer(String employer) {
        this.employer = employer;
    }

    public String getResidencePolice() {
        return residencePolice;
    }

    public void setResidencePolice(String residencePolice) {
        this.residencePolice = residencePolice;
    }

    public String getResidentPolice() {
        return residentPolice;
    }

    public void setResidentPolice(String residentPolice) {
        this.residentPolice = residentPolice;
    }

    public String getResidenceDetail() {
        return residenceDetail;
    }

    public void setResidenceDetail(String residenceDetail) {
        this.residenceDetail = residenceDetail;
    }

    public String getResidentDetail() {
        return residentDetail;
    }

    public void setResidentDetail(String residentDetail) {
        this.residentDetail = residentDetail;
    }

    public String getEmploymentStatus() {
        return employmentStatus;
    }

    public void setEmploymentStatus(String employmentStatus) {
        this.employmentStatus = employmentStatus;
    }

    public String getDrugTypes() {
        return drugTypes;
    }

    public void setDrugTypes(String drugTypes) {
        this.drugTypes = drugTypes;
    }

    public String getSeizedDate() {
        return seizedDate;
    }

    public void setSeizedDate(String seizedDate) {
        this.seizedDate = seizedDate;
    }

    public String getSeizedUnits() {
        return seizedUnits;
    }

    public void setSeizedUnits(String seizedUnits) {
        this.seizedUnits = seizedUnits;
    }

    public String getSeizedPlace() {
        return seizedPlace;
    }

    public void setSeizedPlace(String seizedPlace) {
        this.seizedPlace = seizedPlace;
    }

    public String getNatureCase() {
        return natureCase;
    }

    public void setNatureCase(String natureCase) {
        this.natureCase = natureCase;
    }

    public String getRehabilitationPeriod() {
        return rehabilitationPeriod;
    }

    public void setRehabilitationPeriod(String rehabilitationPeriod) {
        this.rehabilitationPeriod = rehabilitationPeriod;
    }

    public String getCheckInTime() {
        return checkInTime;
    }

    public void setCheckInTime(String checkInTime) {
        this.checkInTime = checkInTime;
    }

    public String getDrugAbuseTime() {
        return drugAbuseTime;
    }

    public void setDrugAbuseTime(String drugAbuseTime) {
        this.drugAbuseTime = drugAbuseTime;
    }

    public String getRegisterPerson() {
        return registerPerson;
    }

    public void setRegisterPerson(String registerPerson) {
        this.registerPerson = registerPerson;
    }

    public String getRegisterUnits() {
        return registerUnits;
    }

    public void setRegisterUnits(String registerUnits) {
        this.registerUnits = registerUnits;
    }

    public String getRemarks() {
        return remarks;
    }

    public void setRemarks(String remarks) {
        this.remarks = remarks;
    }

    public String getIllegalFacts() {
        return illegalFacts;
    }

    public void setIllegalFacts(String illegalFacts) {
        this.illegalFacts = illegalFacts;
    }

    public String getDrugRehabilitation() {
        return drugRehabilitation;
    }

    public void setDrugRehabilitation(String drugRehabilitation) {
        this.drugRehabilitation = drugRehabilitation;
    }

    public List<Annex> getAnnexList() {
        return annexList;
    }

    public void setAnnexList(List<Annex> annexList) {
        this.annexList = annexList;
    }

    public String getGender() {
        return gender;
    }

    public void setGender(String gender) {
        this.gender = gender;
    }

    public String getBirthday() {
        return birthday;
    }

    public void setBirthday(String birthday) {
        this.birthday = birthday;
    }




    @Override
    protected Serializable pkVal() {
        return this.id;
    }
}